package com.pzr.soccer.dao;

import com.pzr.soccer.domain.Plan;

import java.util.List;

/**
 * @Author pzr
 * @date:2021-12-15-16:38
 * @Description:
 **/
public interface PlanDataHelper {
    List<Plan> requestLightly();
    void updateAfterScanGame(Plan plan);

    /**
     * 操作并通知观察者
     * @param plan
     */
    Plan saveAndNotify(Plan plan);

    void removeAndNotify(Plan plan);

    void removeAndNotify(String  planId);
}
